/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;

/**
 *
 * @author latata_2
 */
public class MyCards implements Serializable {
    
    private HashSet<Card> cardsHash;
    private ArrayList<Card> cardsArray;

    public MyCards(HashSet<Card> cards) {
        this.cardsHash = (HashSet<Card>) cards.clone();
        this.cardsArray = new ArrayList<Card>((HashSet<Card>)cards.clone());
    }

    public ArrayList<Card> getCards() {
        return cardsArray;
    }
    
    
}
